/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2023-10-12 11:12:59
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-01-17 14:09:55
 * @FilePath: \ZHGD-Vue2\src\api\bitumenMixingStation\producedData\monitor.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import request from '@/utils/request'

// 级配类型
export function asphaltMatchTypeList(query) {
    return request({
        url: '/zhgd/asphaltMatchType/listSelect',
        method: 'get',
        params: query
    })
}

// 级配表格
export function asphaltDataSievePage(query) {
    return request({
        url: '/zhgd/asphaltDataSieve/page',
        method: 'get',
        params: query
    })
}

// 重量表格
export function weightPage(query) {
    return request({
        url: '/zhgd/asphaltDataWeight/page',
        method: 'get',
        params: query
    })
}

// 重量表格详情
export function asphaltDataWeight(id) {
    return request({
        url: '/zhgd/asphaltDataWeight/' + id,
        method: 'get'
    })
}
// 内掺表格
export function internalDopingPage(query) {
    return request({
        url: '/zhgd/asphaltDataRatio/inPage',
        method: 'get',
        params: query
    })
}

// 外掺表格
export function externalDopingPage(query) {
    return request({
        url: '/zhgd/asphaltDataRatio/outPage',
        method: 'get',
        params: query
    })
}

// 图形tab数据
export function graphicalPage(query) {
    return request({
        url: '/zhgd/asphaltDataSieve/page',
        method: 'get',
        params: query
    })
}


//查看
export function getChartData(id) {
    return request({
        url: '/zhgd/asphaltDataSieve/getChartData/' + id,
        method: 'get'
    })
}



// 图形最后数据接口
export function getLatestData(query) {
    return request({
        url: '/zhgd/asphaltData/getLatestData',
        method: 'get',
        params: query
    })
}


// 图形接口
export function getDayChartData(query) {
    return request({
        url: '/zhgd/asphaltData/getDayChartData',
        method: 'get',
        params: query
    })
}

// 手动校验
export function handCheck(data) {
  return request({
    url: '/zhgd/asphaltData/handCheck',
    method: 'post',
    data: data
  })
}



























